/*
 * Copyright 2019 Red Hat, Inc. and/or its affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

[data-i18n-prefix="DMNDocumentationView."] {
  //See PF Empty State: https://www.patternfly.org/v3/pattern-library/communication/empty-state/
  background-color: #f5f5f5;
  padding: 30px;

  .documentation-panel {
    margin: 0 auto;
    max-width: 1000px;
    min-height: 1500px;
    background: #FFF;
    box-shadow: 0 15px 10px #AAA;
  }

  .documentation-header {
    position: relative;

    button {
      position: absolute;
      top: 10px;
      padding: 3px 13px;
      margin-left: 15px;
      left: unset;
      @media (min-width: 2100px) {
        top: 0;
        left: 100%;
        right: unset;

        &.download-html-button {
          top: 40px;
        }
      }

      i {
        margin-right: 2px;
      }

      &.download-html-button {
        right: 10px;
      }

      &.print-button {
        right: 180px;
      }
    }
  }
}
